﻿using Lightworks.Core.Entity;
using SqlSugar;

namespace Lightworks.System.Models
{
    [SugarTable("sys_role")]
    public class Role : BaseEntity
    {
        public string? Name { get; set; }
        public string? Alias { get; set; }
        public int Sort { get; set; }
        public string? Remark { get; set; }
        public string? DataArea { get; set; } // 数据权限暂不实现
        [SugarColumn(IsJson = true)]
        public string[]? ConsoleArea { get; set; } // 控制台查看权限
    }
}
